package com.getset.gestorsms.clientes;

import java.util.List;

import com.getset.gestorsms.util.DAOFactory;

public class ClienteRN {
	
	private ClienteDAO clienteDAO;
	
	public ClienteRN(){
		this.clienteDAO = DAOFactory.criaClienteDAO();
	}

	public void salvar(Clientes c1) {
		c1.setDataCadastro();
		this.clienteDAO.salvarCliente(c1);
		
	}
	
	public List<Clientes> listar(){
		return this.clienteDAO.listarCliente();
		
	}
	
}
